package com.example.day35.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AjaxResult<T> {
    private boolean success;
    private Integer code;
    private String msg;
    private T result;
    public AjaxResult(boolean success, Integer code, String msg) {
        this.success = success;
        this.code = code;
        this.msg = msg;
    }

}
